package req

type PageInfo struct {
	Page     int `json:"page" form:"page"`           // 页码
	PageSize int `json:"page_size" form:"page_size"` // 每页大小
}

type CursorInfo struct {
	Cursor   string `json:"cursor" form:"cursor"`       // 页码
	PageSize int    `json:"page_size" form:"page_size"` // 每页大小
}

type GetById struct {
	ID uint `json:"id" form:"id" validate:"required"` // 主键ID
}

type IdsReq struct {
	Ids []int `json:"ids" form:"ids" validate:"required"`
}
